lcCreateWindow Home

Creates a graphics window. It is a specific window to display and edit LiteCAD drawings.

 HANDLE lcCreateWindow (
   HWND hWndParent,
   int Style
 );

Parameters
hWndParent
  Handle to a parent window.
Style
  Specifies the style of the window being created. This parameter can be a combination of the next window styles:

Style Meaning
LC_WS_HSCROLL Window has a horizontal scroll bar.
LC_WS_VSCROLL Window has a vertical scroll bar.
LC_WS_BORDER Window has a thin-line border.
LC_WS_SUNKEN Window has a border with a sunken edge.
LC_WS_STATICEDGE Window has a three-dimensional border style.
LC_WS_FILETABS Window has tabs at the top to switch between opened files.
LC_WS_VIEWTABS Window has tabs at the bottom to switch between views.
LC_WS_RULERS Window has rulers at left and top side.
LC_WS_DEFAULT Combination of LC_WS_VSCROLL and LC_WS_HSCROLL styles.

Return Value

  Handle to the created graphics window.
If the function fails, the return value is NULL.

Remarks

  The window size and position must be set later with the function lcWndResize

See Also

  lcDeleteWindowlcWndSetBlock